dijkstra_search

Locates the next node in graph to get to a position Uses Dijkstra search algorithm

deprecated
void
dijkstra_search
(
T
U
)

Parameters

graph GridWithWeights

The graph of nodes

start T

Starting position to go to

goal T

The end position

came_from T[T]

The positions between start and end

cost_so_far U[T]

Sum of weights (cost) to get to goal from start

Meta